import { ReactNode } from 'react'
import { Dialog } from '@mui/material'

import './style.scss'

export default function BaseDialog({ children }: { children: ReactNode }) {
  return (<Dialog open={true}>
    <div className='modal fade show' style={{ display: 'block' }}>
      <div className='modal-dialog'>
        <div className='modal-content'>
          {children}
        </div>
      </div>
    </div>
  </Dialog>)
}
